add save as button in text editor